import { createRouter,createWebHashHistory } from "vue-router";
import Login from '@/views/login.vue'
const routes = [
    {
    path:'/', //路径
    name:'Login', // 名字
    component:Login
    },
    {
        path: "/about",
        name:"about",
        // 重定向
        redirect:"",

    }
]

const router = createRouter({
    history:createWebHashHistory(),
    routes
})

export default router